From: kaf24@firebug.cl.cam.ac.uk Date: Thu, 29 Jun 2006 13:25:07 +0000 (+0100) Subject: [XM] Fix argument check of the xm reboot command. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15912^2~39 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=0e349a1b9b4264190baa9bab2ea076da57a9423c;p=xen.git [XM] Fix argument check of the xm reboot command. Maximum argument of the xm reboot command is three. Signed-off-by: Masaki Kanno --- diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 6e58856e5a..9b8d42fa97 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -565,7 +565,7 @@ def xm_vcpu_list(args): def xm_reboot(args): - arg_check(args, "reboot", 1, 4) + arg_check(args, "reboot", 1, 3) from xen.xm import shutdown shutdown.main(["shutdown", "-R"] + args)